import sys
file = sys.stdout
file.write('Hello')
#
#
# print('Hello')
# file=open('test.txt','r')
# print(file.read())
# file.close()
# #不需要写close
# with open ('test111.txt','r') as file2:
#    print(file2.read(2)) #读取两个字节的数据
#   #  print(file2.read())
#
# with open('test.txt',mode='r',encoding='utf-8')as f:
# #输出一行
#  print(f.readline())
#
# str = "day day up"
# with open('test111.txt','w',encoding='utf-8') as file3:
#     file3.write(str)
#
# list3=['hello11','world22']
# with open('test111.txt','a',encoding='utf-8') as file4:
#     file4.writelines(list3)

with open ('test.txt') as file5:
  #  file5.seek(5,0)
   file5.seek(3,0)